/*
 *    Copyright (c) 2018-2025, nart All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: nart
 */

package com.nai365.nart.member.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * app管理
 *
 * @author baogs
 * @date 2022-07-07 11:36:55
 */
@Data
@TableName("ums_app")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "app管理")
public class App extends Model<App> {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "id")
	private Long id;

	/**
	 * 版本code
	 */
	@ApiModelProperty(value = "版本编号")
	private String versionCode;

	/**
	 * 版本编号
	 */
	@ApiModelProperty(value = "版本名称")
	private String versionName;

	/**
	 * 是否强制更新
	 */
	@ApiModelProperty(value = "是否强制更新")
	private Boolean isForceUpdate;

	/**
	 * 是否上线
	 */
	@ApiModelProperty(value = "是否上线")
	private Boolean isOnline;

	/**
	 * 创建者
	 */
	@ApiModelProperty(value = "创建者")
	private Long createBy;

	/**
	 * 更新内容
	 */
	@ApiModelProperty(value = "更新内容")
	private String updateText;

	/**
	 * 下载链接
	 */
	@ApiModelProperty(value = "下载链接")
	private String downUrl;

	/**
	 * 上传时间
	 */
	@ApiModelProperty(value = "上传时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

	/**
	 * 操作系统:[1:ios,2:android]
	 */
	@ApiModelProperty(value = "操作系统:[1:ios,2:android]")
	private Integer os;

}
